﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Love
{
    public partial class frmMain : Form
    {
        public int Num = 0;
        public frmMain()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            timMain.Enabled = true;
        }
        private void GetForm()
        {
            getLove frm = new getLove();
            frm.Show();
        }

        private void timMain_Tick(object sender, EventArgs e)
        {
            if (Num >= 5)
            {
                timMain.Enabled = false;
                GetForm();
            }
            Num++;
        }

        private void button1_Click(object sender, EventArgs e)
        {

        }
    }
}
